package com.lnking.lnkingplace.service;

import com.lnking.lnkingplace.model.dto.isolation.room.PersonDto;
import com.lnking.lnkingplace.model.dto.isolation.room.RoomCount;
import com.lnking.lnkingplace.model.entity.IsolationRoom;
import com.lnking.lnkingplace.model.request.isolation.room.RoomAddRequest;
import com.lnking.lnkingplace.model.request.isolation.room.RoomUpdateRequest;
import com.lnking.lnkingplace.model.request.isolation.room.RoomUpdateStatusRequest;
import com.lnking.starter.mybatis.service.ICustomService;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhangqt
 * @since 2022-08-27
 */
public interface IIsolationRoomService extends ICustomService<IsolationRoom> {

    IsolationRoom getRoomInfo(String placeName,String roomNumber);

    void importExcel(String placeId,MultipartFile file) throws Exception;

    void add(RoomAddRequest params) throws Exception;

    void update(RoomUpdateRequest params) throws Exception;

    void updateStatus(List<RoomUpdateStatusRequest> params);

    PersonDto queryPerson(String placeId,String roomNumber);

    void updateData();

    RoomCount queryRoomCount(String placeId);
}
